import request from '@/utils/request'

// 增
export function saveUserFocusInfo(data) {
  return request({
    url: '/userFocusInfo',
    method: 'put',
    data
  })
}

// 删
export function deleteUserFocusInfo(data) {
  return request({
    url: '/userFocusInfo',
    method: 'delete',
    data
  })
}

// 改
export function updateUserFocusInfo(data) {
  return request({
    url: '/userFocusInfo',
    method: 'post',
    data
  })
}

// 查
export function getUserFocusInfo(id) {
  return request({
    url: `/userFocusInfo/${id}`,
    method: 'get'
  })
}

// 列表
export function getUserFocusInfoList(data) {
  return request({
    url: '/userFocusInfoList',
    method: 'post',
    data
  })
}
